package com.qfjy.mapper;

import com.qfjy.entity.po.MeetingPub;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MeetingPubMapper {
    int deleteByPrimaryKey(String id);

    int insert(MeetingPub record);

    int insertSelective(MeetingPub record);

    MeetingPub selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(MeetingPub record);

    int updateByPrimaryKey(MeetingPub record);

    /**
     * todo 会议发单-我的发单列表
     */
    List<MeetingPub> selectListMeetingPubByUid(int uid);

    /**
     * 会议抢单-可抢单列表
     */
    List<MeetingPub> selectMeetingPubGrabListByUidOrTid(String uid,String tid);

}


